package com.xdf.imoocdatav.service;

import com.xdf.imoocdatav.dao.cloud.DatavWordcloudMapper;
import com.xdf.imoocdatav.model.DatavWordcloud;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DatavWordCloudServiceImpl implements DatavWordCloudService {

    @Autowired
    private DatavWordcloudMapper dao;

    @Override
    public int deleteByPrimaryKey(Integer iid) {
        return dao.deleteByPrimaryKey(iid);
    }

    @Override
    public int insert(DatavWordcloud record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(DatavWordcloud record) {
        return dao.insertSelective(record);
    }

    @Override
    public DatavWordcloud selectByPrimaryKey(Integer iid) {
        return dao.selectByPrimaryKey(iid);
    }

    @Override
    public int updateByPrimaryKeySelective(DatavWordcloud record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DatavWordcloud record) {
        return dao.updateByPrimaryKey(record);
    }

    @Override
    public List<DatavWordcloud> selectAll() {
        return dao.selectAll();
    }
}
